package com.elisoft.emlap.goods.consumer.common;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @Author wuyanshen
 * @Date 2018-12-11 10:26 AM
 * @Discription 描述
 */
@RefreshScope //刷新@Value配置
@Component
@Data
public class Constant {

    //获取git服务器配置
    @Value("${version}")
    public String version;

}
